package com.nidu.demo.user.dto;

import com.nidu.demo.base.BaseCmd;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 用户密码重置命令
 *
 * @author auto
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserResetPasswordCmd extends BaseCmd {

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空")
    private Long userId;
} 